using SheLife.Domain.Common;

namespace SheLife.Domain.Entities;

public class PrivacySetting : BaseEntity
{
    public Guid UserId { get; set; }
    public bool ShareHealthData { get; set; }
    public bool ShareMenstrualData { get; set; }
    public bool ShareSkincareData { get; set; }
    public bool ShareHabitData { get; set; }
    public bool ShareDietData { get; set; }
    public bool ShareExerciseData { get; set; }
    public bool ShareSleepData { get; set; }
    public bool ShareMoodData { get; set; }
    public bool ShareCommunityData { get; set; }
    public bool ShareProfileData { get; set; }
    public string DataRetentionPeriod { get; set; } = string.Empty;
    public bool AllowDataExport { get; set; }
    public bool AllowDataDeletion { get; set; }
    public DateTime LastUpdated { get; set; }
    
    // 导航属性
    public virtual User? User { get; set; }
}